package com.credithc.customers.base.mapper;

import com.credithc.baseserv.core.mapper.BsBaseMapper;
import com.credithc.customers.base.po.CustomerAccountPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @Title:
 * @Author: Denghx
 * @Date: 2018/12/9 21:03
 * @Description: com.credithc.customers.base.mapper
 * @Version: V1.0.0
 */
@Mapper
@Repository
public interface CustomerAccountMapper extends BsBaseMapper<CustomerAccountPo> {
    @Update("UPDATE cust_account_info set customer_no =#{customerNo} where user_source_id =#{uid} and system_sign = 'HYR' AND sub_system_sign = 'HYR'")
    void updataByUseridAndSign(@Param("customerNo") String customerNo, @Param("uid") String uid);
}
